#include "rclcpp/rclcpp.hpp"

#include "master_manager.h"

int main(int argc, char *argv[])
{
    setlocale(LC_ALL, "");
    rclcpp::init(argc, argv);
    auto node = std::make_shared<MasterManager>(rclcpp::NodeOptions());
    node->init();
    RCLCPP_INFO(rclcpp::get_logger("Modbus"), "[main func]ModbusMaster has started ");

    rclcpp::spin(node);
    
    return 0;
}
